package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@ApiModel(description = "银行卡信息")
@Table(name = "tb_bank_card")
public class BankCard {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("卡号类型")
    private String bankType;
    @ApiModelProperty("关联用户")
    private Long fUserId;
    @ApiModelProperty("卡号")
    private String code;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("银行名称")
    private String bankName;
    @ApiModelProperty("是否默认 0否 1是 ")
    private Integer isDefault;
    @ApiModelProperty("是否被移除 0否 1是")
    private Integer removed;

    public Integer getRemoved() {
        return removed;
    }

    public void setRemoved(Integer removed) {
        this.removed = removed;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public Long getfUserId() {
        return fUserId;
    }

    public void setfUserId(Long fUserId) {
        this.fUserId = fUserId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }
}